package com.lesson6.builder;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/8/28 21:03
 */
public abstract class AbstractHouse
{
    //建基
    abstract void buildBasic();
    //砌墙
    abstract void buildWall();
    //封顶
    abstract void roofed();

    public void build(){
        buildBasic();
        buildWall();
        roofed();
    }
}
